package com.my.hotel.service.impl;

import com.my.hotel.entity.KfImg;
import com.my.hotel.mapper.KfImgMapper;
import com.my.hotel.service.KfImgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class KfImgServiceImpl implements KfImgService {
    @Autowired
    private KfImgMapper kfImgMapper;

    @Override
    public KfImg getKfImg(int id) {
        return kfImgMapper.getKfImg(id);
    }

    @Override
    public void update(KfImg kfImg) {
        kfImgMapper.update(kfImg);
    }
}
